package models

import "gorm.io/gorm"

type User3 struct {
	gorm.Model
	Mobile string `gorm:"type:char(11);not null"`
}
type Goods3 struct {
	gorm.Model
	Name  string  `gorm:"type:char(30);not null"`
	Price float64 `gorm:"type:decimal(12,2);not null"`
	Times float64 `gorm:"type:decimal(12,2);not null"`
}
type Order3 struct {
	gorm.Model
	Userid  int     `gorm:"type:int(20);not null"`
	OrderSn string  `gorm:"type:varchar(30);not null"`
	Name    string  `gorm:"type:char(30);not null"`
	Price   float64 `gorm:"type:decimal(12,2);not null"`
	Times   float64 `gorm:"type:decimal(12,2);not null"`
	PayType string  `gorm:"type:char(10)"`
	Status  string  `gorm:"type:char(10)"`
}
